package com.huluobo.day11_im.register.presenter;

public interface RegisterContract {
    interface Presenter {
        void register(String username, String password, String rePassword);
    }

    interface View {
        void onRegisterSuccess();

        void onRegisterFailed(String error);

        void onStartRegister();

        void onUsernameError();

        void onPasswordError();

        void onRePasswordError();
    }
}
